<html><head><title>{% block title %}CMAT 21 Scoring{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> 
<meta property="og:image" content="http://cmat.calwushu.org/wp-content/uploads/2012/01/cmat20banner.jpg" />
<meta property="og:type" content="sports_league" />
<meta property='og:site_name' content='CMAT 21 Scores' />
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script>
  $(document).bind("mobileinit", function(){
    $.mobile.ajaxEnabled = false;
  });
</script>
<script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
{% block header %}
{% endblock %}
<script>
(function(doc) {
	var addEvent = 'addEventListener',
	    type = 'gesturestart',
	    qsa = 'querySelectorAll',
	    scales = [1, 1],
	    meta = qsa in doc ? doc[qsa]('meta[name=viewport]') : [];
	function fix() {
		meta.content = 'width=device-width,minimum-scale=' + scales[0] + ',maximum-scale=' + scales[1];
		doc.removeEventListener(type, fix, true);
	}

	if ((meta = meta[meta.length - 1]) && addEvent in doc) {
		fix();
		scales = [.25, 1.6];
		doc[addEvent](type, fix, true);
	}

}(document));
</script>
<!--- Le Google Analytics --->
<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-28724473-2']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</head>
<body>
<div data-role="page">
  <div data-role="header" data-position="inline"> 
    <h1>{% block heading %}{% endblock %}</h1>
  </div>
  <div data-role="navbar">
    <ul>
      <li><a href="/rings" {% block ring_li %}{% endblock %} data-theme="a">Rings</a></li>
      <li><a href="/events" {% block event_li %}{% endblock %} data-theme="a">Events</a></li>
      <li><a href="/competitors" {% block comp_li %}{% endblock %} data-theme="a">Competitors</a></li>
    </ul>
  </div><!-- /navbar -->
  <div id="mobile_container" data-role="content">
      {% block content %}
      {% endblock %}
  </div>
  <div data-role="footer" data-position="inline">
    &copy; 2012 CalWushu
    <a href="/desktop?url={{url}}" class="ui-btn-right">Desktop Site</a>
  </div>
</div>
</body>
</html>
